package com.woniuxy.mesboot.service.impl;

import com.woniuxy.mesboot.entity.MesWorkState;
import com.woniuxy.mesboot.mapper.MesWorkStateMapper;
import com.woniuxy.mesboot.service.MesWorkStateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class MesWorkStateServiceImpl implements MesWorkStateService {
    @Resource
    private MesWorkStateMapper workStateMapper;

    @Override
    public int insertSelective(MesWorkState record) {
        return workStateMapper.insertSelective(record);
    }

    @Override
    public int updateStateByWorkNo(MesWorkState record) {
        return workStateMapper.updateStateByWorkNo(record);
    }


    @Override
    public int selectStateByWorkNo(String workNo) {
        return workStateMapper.selectStateByWorkNo(workNo);
    }
}
